
// var NewApiRootUrl = 'https://travel.wsinchina.com/api/';
 //var NewApiRootUrl = 'http://127.0.0.1:8081/api/';
var NewApiRootUrl = 'https://api.appdesigner.cn/api/';


module.exports = {
    UserLogin:NewApiRootUrl+"customer/login",

    ReadOrder: NewApiRootUrl +"divided/readOrder",//阅读分销订单
    HasNew:NewApiRootUrl+"divided/hasNew",//是否有新订单
	  TotalShare:NewApiRootUrl+"divided/getMyFunds",//查询分润总额

    AddrList: NewApiRootUrl +"address/serach",//地址列表
    AddrOper:NewApiRootUrl+"address/oper",//操作地址
    DefaultAddr: NewApiRootUrl +"address/getDefaultAddress",

    ContactsList: NewApiRootUrl + "contacts/serach",//地址列表
    ContactsOper: NewApiRootUrl + "contacts/oper",//操作地址

    BankList: NewApiRootUrl + "bank/list",
    BankSerach: NewApiRootUrl + "bank/serach",
    BankInfo: NewApiRootUrl +"bank/getBankInfo",
    BankOper: NewApiRootUrl + "bank/oper",

    UserDetail:NewApiRootUrl+"customer/detail",
    UserGetPhone: NewApiRootUrl +"customer/getPhone",//获取电话号码
    UserSet:NewApiRootUrl+"customer/set",//设置分润
    UserAuth: NewApiRootUrl + "customer/auth/doAuth",//认证接口
    UserGetAuth:NewApiRootUrl+"customer/auth/getAuth",//获取认证数据

    SpreaderList: NewApiRootUrl + "customer/spreader/list",//获取推广人接口
    AuditSpreader: NewApiRootUrl + "customer/spreader/audit",//审核推广人接口

    IndexUrl: NewApiRootUrl + "index/index", //首页数据接口
    IndexHotel:NewApiRootUrl+"index/hotel",//首页推荐酒店接口
    IndexScene:NewApiRootUrl+"index/scene",//
    IndexTour:NewApiRootUrl+"index/tour",//首页推荐线路接口
    Qrcode: NewApiRootUrl + 'qrcode/getQrcode', //

    Tx: NewApiRootUrl +"finance/doFinance",//提现接口
    GetDivided:NewApiRootUrl+"divided/detail",//查询分润详细接口
    ShareOrders: NewApiRootUrl +"divided/shareOrders",//获取分润订单列表
    GetTransFee:NewApiRootUrl+"common/transFee",//查询邮寄费用
    GetFee:NewApiRootUrl+"common/sxFee",//查询手续费
    
    CouponGet: NewApiRootUrl +"coupon/receive",//领取优惠券接口
    MyCoupon: NewApiRootUrl +"coupon/myCoupon",//我的优惠券
    CouponForUse: NewApiRootUrl +"coupon/list",//待选择优惠券列表

    HotelIndex: NewApiRootUrl + 'hotel/index', //Hotel首页数据接口
    HotelMoreRecommend:NewApiRootUrl+"hotel/moreRecommend",//Hotel首页获取推荐
    HotelList: NewApiRootUrl + 'hotel/list', //Hotel首页数据接口
    HotelDetail: NewApiRootUrl + 'hotel/detail', //Hotel 详细数据接口
    HotelRoomDetail:NewApiRootUrl +"hotel/room",
    HotelRoomOrder: NewApiRootUrl +"hotel/orders",
    HotelPrice: NewApiRootUrl + "hotel/roomPrice",//酒店价格

    SceneIndex: NewApiRootUrl + 'scenes/index', //scene首页数据接口
    SceneList: NewApiRootUrl + 'scenes/getScenes', //scene首页数据接口
    SceneDetail: NewApiRootUrl + 'scenes/', //scene 详细数据接口
    SceneTicketDetail:NewApiRootUrl+"tickets/detail",//门票详情
    SceneTicketOrder:NewApiRootUrl+"tickets/order",//订门票
    SceneSearchList:NewApiRootUrl+"scenes/search",//搜索
    ScenePrice: NewApiRootUrl +"tickets/ticketPrice",//门票价格

    TourIndex:NewApiRootUrl +'tour/index',//线路首页
    TourMore:NewApiRootUrl+"tour/more",//线路获取更多
    TourDetail:NewApiRootUrl+"tour/detail",//线路详情
    TourDayDetail:NewApiRootUrl+"tour/dayDetail",//每天项目详情
    TourSearch:NewApiRootUrl+"tour/search",//搜索路线
    TourPrice: NewApiRootUrl +"tour/dayPrice",//线路价格
    TourOrder: NewApiRootUrl +"tour/order",//线路下单



    
    CatalogList: NewApiRootUrl + 'catalog/index',  //分类目录全部分类数据接口
    CatalogCurrent: NewApiRootUrl + 'catalog/current',  //分类目录当前分类数据接口

    AuthLoginByWeixin: NewApiRootUrl + 'auth/loginByWeixin', //微信登录

    GoodsCount: NewApiRootUrl + 'goods/count',  //统计商品总数
    GoodsList: NewApiRootUrl + 'goods/list',  //获得商品列表
    GoodsCategory: NewApiRootUrl + 'goods/category',  //获得分类数据
    GoodsDetail: NewApiRootUrl + 'goods/detail',  //获得商品的详情
    GoodsNew: NewApiRootUrl + 'goods/new',  //新品
    GoodsHot: NewApiRootUrl + 'goods/hot',  //热门
    GoodsRelated: NewApiRootUrl + 'goods/related',  //商品详情页的关联商品（大家都在看）

    BrandList: NewApiRootUrl + 'brand/list',  //品牌列表
    BrandDetail: NewApiRootUrl + 'brand/detail',  //品牌详情

    CartList: NewApiRootUrl + 'cart/index', //获取购物车的数据
    CartAdd: NewApiRootUrl + 'cart/add', // 添加商品到购物车
    CartUpdate: NewApiRootUrl + 'cart/update', // 更新购物车的商品
    CartDelete: NewApiRootUrl + 'cart/delete', // 删除购物车的商品
    CartChecked: NewApiRootUrl + 'cart/checked', // 选择或取消选择商品
    CartGoodsCount: NewApiRootUrl + 'cart/goodscount', // 获取购物车商品件数
    CartCheckout: NewApiRootUrl + 'cart/checkout', // 下单前信息确认

    OrderSubmit: NewApiRootUrl + 'order/submit', // 提交订单
    DeleteOrder: NewApiRootUrl + 'order/deleteOrder', // 提交订单
    PayPrepayId: NewApiRootUrl + 'wxpay/prepay', //获取微信统一下单prepay_id

    CollectList: NewApiRootUrl + 'collect/list',  //收藏列表
    CollectAddOrDelete: NewApiRootUrl + 'collect/addordelete',  //添加或取消收藏

    CommentList: NewApiRootUrl + 'comment/list',  //评论列表
    CommentCount: NewApiRootUrl + 'comment/count',  //评论总数
    CommentPost: NewApiRootUrl + 'comment/post',   //发表评论

    TopicList: NewApiRootUrl + 'activiti/list',  //专题列表
    TopicDetail: NewApiRootUrl + 'activiti/detail',  //专题详情
    TopicRelated: NewApiRootUrl + 'topic/related',  //相关专题

    SearchIndex: NewApiRootUrl + 'search/index',  //搜索页面数据
    SearchResult: NewApiRootUrl + 'search/result',  //搜索数据
    SearchHelper: NewApiRootUrl + 'search/helper',  //搜索帮助
    SearchClearHistory: NewApiRootUrl + 'search/clearhistory',  //搜索帮助

    AddressList: NewApiRootUrl + 'address/list',  //收货地址列表
    AddressDetail: NewApiRootUrl + 'address/detail',  //收货地址详情
    AddressSave: NewApiRootUrl + 'address/save',  //保存收货地址
    AddressDelete: NewApiRootUrl + 'address/delete',  //保存收货地址

    RegionList: NewApiRootUrl + 'region/list',  //获取区域列表

    OrderList: NewApiRootUrl + 'order/getOrderList', //订单列表
    ApplyPayBack:NewApiRootUrl+"order/roll",//申请退款
    OrderDetail: NewApiRootUrl + 'order/detail',  //订单详情
    OrderCancel: NewApiRootUrl + 'order/cancel',  //取消订单

    FootprintList: NewApiRootUrl + 'footprint/list',  //足迹列表
    FootprintDelete: NewApiRootUrl + 'footprint/delete',  //删除足迹

    MessageDetail: NewApiRootUrl + 'message/detail',  //公告详细
    qrcode: NewApiRootUrl + 'qrcode/getQrcode',  //qrcode
    placard: NewApiRootUrl + 'setting/placard',  //海报背景
    SpreadHasNew: NewApiRootUrl + 'customer/spreader/hasNew',  //新推广人

    ContactsList: NewApiRootUrl + 'contacts/search',
    ContactsOper: NewApiRootUrl + 'contacts/oper'
};